package ontowebapp.trimstring.ui.lib;

import ontocompo.ui.api.html.HtmlTextInputItf;

import org.objectweb.fractal.fraclet.annotations.Component;
import org.objectweb.fractal.fraclet.annotations.Interface;

@Component(provides = {@Interface(name = "htmlTextInputItf", signature = ontocompo.ui.api.html.HtmlTextInputItf.class), @Interface(name = "ontocompoIntrospectionItf", signature = ontocompo.api.IntrospectionItf.class), @Interface(name = "htmlEntryPoint", signature = ontocompo.ui.api.html.HtmlElementItf.class)})
public class TextToTrimInput extends ontocompo.ui.lib.html.HtmlTextInput implements HtmlTextInputItf {

	public TextToTrimInput() {
		this.uid = "ontowebapp.trimstring.ui.lib.TextToTrimInput";
		this.htmlId = "textToTrimInput";
	}
	
	@Override
	public void setContent(String newContent) {
		super.setContent(newContent);
		//System.out.println("UPDATE de " + this.uid + " avec newValue: " + newContent);
	}
	
	@Override
	public void init() {
		this.content = "";
	}
}
